package net.diaowen.dwsurvey.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import net.diaowen.common.base.entity.IdEntity;

/**
 * 用户中奖表
 * @author zhangyuting
 * @date 2019年6月20日
 *
 */
@Entity
@Table(name="t_lottery_user")
public class LotteryUser extends IdEntity{
	
	/**
	 * 回答问卷Id
	 */
	private String surveyAnswerId;
	/**
	 * 用户的wxid
	 */
	private String wxId;
	/**
	 * 他该得什么奖品
	 */
	private String arithmeticId;
	/**
	 * 抽奖时间
	 */
	private Date lotteryTime;
	/**
	 * 审批时间
	 */
	private Date approvalTime;
	/**
	 * 审批人
	 */
	private String approvalUser;
	/**
	 * 状态
	 * 1-未处理
	 * 2-已发放
	 * 3-已寄出
	 * 9-已完成
	 * 
	 */
	
	private String approvalStatus;
	public String getSurveyAnswerId() {
		return surveyAnswerId;
	}
	public void setSurveyAnswerId(String surveyAnswerId) {
		this.surveyAnswerId = surveyAnswerId;
	}
	public String getWxId() {
		return wxId;
	}
	public void setWxId(String wxId) {
		this.wxId = wxId;
	}
	public String getArithmeticId() {
		return arithmeticId;
	}
	public void setArithmeticId(String arithmeticId) {
		this.arithmeticId = arithmeticId;
	}
	public Date getLotteryTime() {
		return lotteryTime;
	}
	public void setLotteryTime(Date lotteryTime) {
		this.lotteryTime = lotteryTime;
	}
	public Date getApprovalTime() {
		return approvalTime;
	}
	public void setApprovalTime(Date approvalTime) {
		this.approvalTime = approvalTime;
	}
	public String getApprovalUser() {
		return approvalUser;
	}
	public void setApprovalUser(String approvalUser) {
		this.approvalUser = approvalUser;
	}
	public String getApprovalStatus() {
		return approvalStatus;
	}
	public void setApprovalStatus(String approvalStatus) {
		this.approvalStatus = approvalStatus;
	}
	
}
